package com.appos.domain;

import com.alibaba.fastjson.JSONObject;
import com.appos.domain.base.BaseEntity;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection="WorkSheet")
public class WorkSheet extends BaseEntity {
    @Id
    private String id;
    private String workSheetId;
    private String workSheetName;
    /** 集合名称 */
    private String collectionsName;
    /** 表单设计器定义的json字符串 */
    private JSONObject widgetForm;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public String getWorkSheetId() {
        return workSheetId;
    }

    public void setWorkSheetId(String workSheetId) {
        this.workSheetId = workSheetId;
    }

    public String getWorkSheetName() {
        return workSheetName;
    }

    public void setWorkSheetName(String workSheetName) {
        this.workSheetName = workSheetName;
    }

    public String getCollectionsName() {
        return collectionsName;
    }

    public void setCollectionsName(String collectionsName) {
        this.collectionsName = collectionsName;
    }

    public JSONObject getWidgetForm() {
        return widgetForm;
    }

    public void setWidgetForm(JSONObject widgetForm) {
        this.widgetForm = widgetForm;
    }
}
